package com.domain;

public class Product {
	private int productCode;
	private String productName;
	private float salesPrice;
	private float buyPrice;
	private String description;

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getProductCode() {
		return productCode;
	}

	public void setProductCode(int productCode) {
		this.productCode = productCode;
	}

	public float getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(float salesPrice) {
		this.salesPrice = salesPrice;
	}

	public float getBuyPrice() {
		return buyPrice;
	}

	public void setBuyPrice(float buyPrice) {
		this.buyPrice = buyPrice;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Product() {
	}

	public Product(int productCode, String productName, float salesPrice,
			float buyPrice, String description) {
		this.productName = productName;
		this.productCode = productCode;
		this.salesPrice = salesPrice;
		this.buyPrice = buyPrice;
		this.description = description;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return productCode + "\t" + productName + "\t" + salesPrice + "\t" + buyPrice + "\t" + description;
	}
}
